<!--
  @author tanlei
  @since 2021/07/06 14:52
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<div class="layui-card-body" th:fragment="repair_order">
  <form method="POST" action="" class="layui-form" lay-filter="zmn-rob-order-form" id="zmn-rob-order-form">
  <div class="layui-card">
    <div class="layui-row">
      <div class="layui-col-sm10 layui-form" >
        <div class="layui-form-item" style="margin-top: 10px">
          <label class="layui-form-label layui-form-required">返修自动派单</label>

          <div class="layui-input-block">
            <input type="radio" name="autoStatusRework" value="2" title="源工程师自动派"
                   th:checked="${obj.autoStatusRework == 2 || obj.autoStatusRework == null}">
            <input type="radio" name="autoStatusRework" value="1" title="关闭自动派"
                   th:checked="${obj.autoStatusRework == 1}">
          </div>

        </div>
      </div>
    </div>
    <div class="layui-row">
      <div class="layui-col-sm10 layui-form">
        <div class="layui-form-item">
          <label class="layui-form-label layui-form-required">最大返修单量</label>
          <div class="layui-input-inline">
            <input type="text" name="reworkLimit"
                   th:value="${obj.reworkLimit}"
                   lay-verify="required|reworkLimit"
                   lay-verType="tips"
                   placeholder="请输入0或正整数"
                   autocomplete="off"
                   class="layui-input" maxlength="6"/>
          </div>
          <div class="layui-form-mid layui-word-aux">仅针对：返修单，不含： 拉修、待件、统一结算、开发票、失败申请</div>
        </div>
      </div>
    </div>
  </div>
  <div class="layui-row">
    <div class="layui-col-sm10">
      <div class="layui-form-item submit">
        <div class="layui-input-block">
          <button class="layui-btn" lay-submit="" lay-filter="zmn-form-submit-to-database">提交
          </button>
          <button type="button" id="cancel" class="layui-btn layui-btn-primary">取消</button>
        </div>
      </div>
    </div>
  </div>
  </form>
</div>